package com.jzo2o.redis.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 同步消息模型
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class SyncMessage <T>{

    private String key; // 缓存key
    private Object value; // 缓存value
    private T data; // 业务数据
}
